package com.example.langchain4j.common.constant;

/**
 * 静态资源常量
 */
public class StaticResourceConstant {

    /**
     * 允许匿名访问的静态资源路径列表
     */
    public static final String[] STATIC_WITHE_PATH_LIST = new String[]{
            "/",
            "/js/**",
            "/css/**",
            "/img/**",
            "/fonts/**",
            "/index.html",
            "/favicon.ico",
            "/doc.html",
            "/swagger-ui.html",
            "/webjars/**",
            "/swagger-resources/**",
            "/v3/**"
    };

    /**
     * 允许匿名访问的静态资源存放位置列表
     */
    public static final String[] STATIC_WITHE_LOCATION_LIST = new String[]{
            "classpath:/static/",
            "classpath:/public/",
            "classpath:/META-INF/resources/"
    };

}
